package br.com.yahoo.mau_mss.tutorjavafxgolfx;

import javafx.application.Application;
import javafx.stage.Stage;
import br.com.yahoo.mau_mss.tutorjavafxgolfx.controller.LoginApp;

/**
 * <p>Title: TutorJavaFxGolFx</p>
 * <p>Description:  </p>
 * <p>Date: Oct 15, 2013, 8:41:59 AM</p>
 * @author Mauricio Soares da Silva (mauricio.soares)
 */
public class TutorJavaFxGolFx extends Application {
  //private static Stage stage;
  //public static final String STYLE_BACKGROUND = "-fx-background-color: linear-gradient(from 0% 0% to 100% 100%, #d0d0d0 0%, silver 100%);";
  public static final String STYLE_BACKGROUND = "-fx-background-color: linear-gradient(from 0% 0% to 100% 100%, gray 0%, lightgray 100%);";

  /**
   * Create a new instance of <code>TutorJavaFxGolFx</code>.
   */
  public TutorJavaFxGolFx() {
  }
  
  public static void main(String[] args) {
    launch(args);
  }

  @Override
  public void start(Stage stage) throws Exception {
    //TutorJavaFxGolFx.stage = stage;
    new LoginApp().start(new Stage());
    stage.close();
  }

  //public static Stage getStage() {
  //  return TutorJavaFxGolFx.stage;
  //}
}